//
//  SocketClient.h
//  AppShellTool
//
//  Created by IOS01 on 2022/12/7.
//

#import <Foundation/Foundation.h>
#import "GCDAsyncSocket.h"

NS_ASSUME_NONNULL_BEGIN

@interface SocketClient : NSObject

@property(nonatomic, strong) GCDAsyncSocket *cSocket;



/// 获取单利
+ (SocketClient *)shareClient;

/// 开启连接
- (void)connect;


/// 断开连接
- (void)disConnect;

- (void)sendMsg:(NSString *)msg;

@end

NS_ASSUME_NONNULL_END
